package jd.se.message;

import java.sql.Date;
import java.sql.Timestamp;

public class Message {
    private String from_id;
    private String to_id;
    private String message;
    private Timestamp time;

    public Timestamp getTimestamp() {
        return time;
    }

    public void setTimestamp(Timestamp time) {
        this.time = time;
    }

    public Message() {
    }

    public Message(String from_id, String to_id, String message, Timestamp time) {
        this.from_id = from_id;
        this.to_id = to_id;
        this.message = message;
        this.time = time;
    }

    public String getFrom_id() {
        return from_id;
    }

    public void setFrom_id(String from_id) {
        this.from_id = from_id;
    }

    public String getTo_id() {
        return to_id;
    }

    public void setTo_id(String to_id) {
        this.to_id = to_id;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
